package generator;

/**
 * 
 * @author badqiu
 * @email badqiu(a)gmail.com
 */

public class GeneratorMain {
	public static void main(String[] args) throws Exception {
		Generator g = new Generator();

		g.clean();

		/*
		 * 
		 * 支持三种表名格式，如acc$users, users, usr_users 这三种格式最后生成的类名都是Users
		 * 
		 * examples:
		 * 
		 * //generate single table 
		 * g.generateTable("acc$users");
		 * 
		 * //generate from some tables 
		 * String[] tableNames = {"acc$users", "users", "usr_users"}; 
		 * g.generateTables(tableNames);
		 * 
		 * //generate from all tables 
		 * g.generateAllTable();
		 * 
		 * //generate from all tables except the ignore tables String[]
		 * tableNames = {"acc$users","users"}; 
		 * g.generateAllTable(tableNames);
		 */

	}
}
